package com.ltu.domain.mp_entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import com.ltu.domain.BaseEntity;
import lombok.experimental.Accessors;

/**
 * <p>
 * 接口调用日志
 * </p>
 * @author 若尘
 * @since 2022-02-21
 */
@Data
@Accessors(chain = true)
@TableName("sys_req_log")
@ApiModel(value="ReqLogEntity对象", description="接口调用日志")
public class ReqLogEntity extends BaseEntity{

    private static final long serialVersionUID = 1L;

				 @ApiModelProperty(value = " ip:ip ")
@TableField(value = "ip")
		  private String ip;
    			 @ApiModelProperty(value = " get or post ")
@TableField(value = "http_method")
		  private String httpMethod;
    			 @ApiModelProperty(value = " method:请求方法 ")
@TableField(value = "method")
		  private String method;
    			 @ApiModelProperty(value = " param:入参 ")
@TableField(value = "param")
		  private String param;
    			 @ApiModelProperty(value = " result:返回结果 ")
@TableField(value = "result")
		  private String result;
    			 @ApiModelProperty(value = " starsys_time:调用方法开始时间 ")
@TableField(value = "starsys_time")
		  private String startTime;
    			 @ApiModelProperty(value = " end_time:调用方法结束时间 ")
@TableField(value = "end_time")
		  private String endTime;
    			 @ApiModelProperty(value = " consume_time:耗时 ")
@TableField(value = "consume_time")
		  private String consumeTime;
    			 @ApiModelProperty(value = " oprator:操作人 ")
@TableField(value = "oprator")
		  private String oprator;
    			 @ApiModelProperty(value = " create_time:创建时间 ")
@TableField(value = "create_time")
		  private Date createTime;
    	/**
		 * ip
		 */
	    public String getIp() {
	        return ip;
	    }
		/**
		 * ip
		 */
	    public ReqLogEntity setIp(String ip) {
	       this.ip = ip;
	        return this;
	    }
		/**
		 * 请求方法
		 */
	    public String getMethod() {
	        return method;
	    }
		/**
		 * 请求方法
		 */
	    public ReqLogEntity setMethod(String method) {
	       this.method = method;
	        return this;
	    }
		/**
		 * 入参
		 */
	    public String getParam() {
	        return param;
	    }
		/**
		 * 入参
		 */
	    public ReqLogEntity setParam(String param) {
	       this.param = param;
	        return this;
	    }
		/**
		 * 返回结果
		 */
	    public String getResult() {
	        return result;
	    }
		/**
		 * 返回结果
		 */
	    public ReqLogEntity setResult(String result) {
	       this.result = result;
	        return this;
	    }
		/**
		 * 调用方法开始时间
		 */
	    public String getStartTime() {
	        return startTime;
	    }
		/**
		 * 调用方法开始时间
		 */
	    public ReqLogEntity setStartTime(String startTime) {
	       this.startTime = startTime;
	        return this;
	    }
		/**
		 * 调用方法结束时间
		 */
	    public String getEndTime() {
	        return endTime;
	    }
		/**
		 * 调用方法结束时间
		 */
	    public ReqLogEntity setEndTime(String endTime) {
	       this.endTime = endTime;
	        return this;
	    }
		/**
		 * 耗时
		 */
	    public String getConsumeTime() {
	        return consumeTime;
	    }
		/**
		 * 耗时
		 */
	    public ReqLogEntity setConsumeTime(String consumeTime) {
	       this.consumeTime = consumeTime;
	        return this;
	    }
		/**
		 * 操作人
		 */
	    public String getOprator() {
	        return oprator;
	    }
		/**
		 * 操作人
		 */
	    public ReqLogEntity setOprator(String oprator) {
	       this.oprator = oprator;
	        return this;
	    }
		/**
		 * 创建时间
		 */
	    public Date getCreateTime() {
	        return createTime;
	    }
		/**
		 * 创建时间
		 */
	    public ReqLogEntity setCreateTime(Date createTime) {
	       this.createTime = createTime;
	        return this;
	    }




}
